package cn.edu.jsu.zjj.model.dto.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(description = "用户登录时传递的数据模型")
public class UserGetById {
    /**
     * 唯一不重复
     */
    @ApiModelProperty(value = "用户ID")
    private Long id;
    @ApiModelProperty(value = "工号")
    private String number;

    @ApiModelProperty(value = "头像地址")
    private String avatar;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "身份认证（0代表未认证 1代表已认证）")
    private Boolean isAuthentication;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "用户邮箱")
    private String email;

    @ApiModelProperty(value = "用户性别（0男 1女 2未知）")
    private String sex;

    @ApiModelProperty(value = "户籍地")
    private String address;

    @ApiModelProperty(value = "学历")
    private String degree;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "职位")
    private String post;

    @ApiModelProperty(value = "个人简介")
    private String profile;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String isDelete;

    @ApiModelProperty(value = "用户角色：user/admin")
    private List<String> roles;

    @ApiModelProperty(value = "注册时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
